#include <iostream>
#include <vector>
#include <string>
#include <algorithm>
#include <iterator>
using namespace std;

namespace BaiDuStar
{
	/*
	int solv( vector<int> &ai ,vector<int> &di )
	{
		vector<int> tmp;
		for (vector<int>::iterator iter=ai.begin(); iter != ai.end()-1 ;iter++)
		{
			for(vector<int>::iterator diter=di.begin(); diter != di.end() ;diter++)
			{
				if ( (*(iter+1) - *iter) != *diter )
				{
					tmp[iter] = *iter;
				}
				else
				{

				}
			}
		}
	}
	int star_2012_1223_02()
	{
		int T,n,m,cnt(0);

		cin>>T;
		for(int i=0;i<T;i++){
			cin>>n>>m;
			vector<int> ai(n,0);
			vector<int> di(m,0);
			vector<int> dis(n-1,0);
			vector<int> di_num(m,0);
			for (int j=0;j<n;j++) cin>>ai[j];
			for	(int j=0;j<m;j++) cin>>di[j];
			for (int j=0;j<n-1;j++) dis[j]=ai[j+1]-ai[j];
			solv( ai,di );

			for	(int j=0;j<m;j++)
			{
				di_num[j] = count(dis.begin(),dis.end(),di[j])+1;
			}

		}
	}
	*/
}

